/*
 * BasicMotionState.cpp
 *
 *  Created on: Oct 2, 2009
 *      Author: Falken
 */

#include "BasicMotionState.h"
#include "btBulletDynamicsCommon.h"

BasicMotionState::BasicMotionState(btTransform worldTrans) {
	worldTransform=worldTrans;
	dirty=true;
}

void BasicMotionState::getWorldTransform(btTransform& worldTrans ) const
{
	worldTrans=worldTransform;
}

void BasicMotionState::setWorldTransform(const btTransform& worldTrans)
{
	worldTransform=worldTrans;
	dirty=true;
}

BasicMotionState::~BasicMotionState() {
	// TODO Auto-generated destructor stub
}
